<style type="text/css">
    .sm-st {
        background: #fff;
        padding: 20px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        margin-bottom: 20px;
    }

    .sm-st-icon {
        width: 60px;
        height: 60px;
        display: inline-block;
        line-height: 60px;
        text-align: center;
        font-size: 30px;
        background: #eee;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        float: left;
        margin-right: 10px;
        color: #fff;
    }

    .sm-st-info {
        padding-top: 2px;
    }

    .sm-st-info span {
        display: block;
        font-size: 24px;
        font-weight: 600;
    }

    .orange {
        background: #fa8564 !important;
    }

    .tar {
        background: #45cf95 !important;
    }

    .sm-st .green {
        background: #86ba41 !important;
    }

    .pink {
        background: #AC75F0 !important;
    }

    .yellow-b {
        background: #fdd752 !important;
    }

    .stat-elem {

        background-color: #fff;
        padding: 18px;
        border-radius: 40px;

    }

    .stat-info {
        text-align: center;
        background-color: #fff;
        border-radius: 5px;
        margin-top: -5px;
        padding: 8px;
        -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
        box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
        font-style: italic;
    }

    .stat-icon {
        text-align: center;
        margin-bottom: 5px;
    }

    .st-red {
        background-color: #F05050;
    }

    .st-green {
        background-color: #27C24C;
    }

    .st-violet {
        background-color: #7266ba;
    }

    .st-blue {
        background-color: #23b7e5;
    }

    .stats .stat-icon {
        color: #28bb9c;
        display: inline-block;
        font-size: 26px;
        text-align: center;
        vertical-align: middle;
        width: 50px;
        float: left;
    }

    .stat {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
    }

    .stat .value {
        font-size: 20px;
        line-height: 24px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 500;
    }

    .stat .name {
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 5px 0;
    }

    .stat.lg .value {
        font-size: 26px;
        line-height: 28px;
    }

    .stat-col {
        margin:0 0 10px 0;
    }
    .stat.lg .name {
        font-size: 16px;
    }

    .stat-col .progress {
        height: 2px;
    }

    .stat-col .progress-bar {
        line-height: 2px;
        height: 2px;
    }

    .item {
        padding: 30px 0;
    }


    #statistics .panel {
        min-height: 150px;
    }

    #statistics .panel h5 {
        font-size: 14px;
    }
</style>
<div class="panel panel-default panel-intro">
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">

<!--                订单数据-->
                <div class="panel panel-default">
                    <div class="panel-heading">订单数据</div>
                    <div class="panel-body">
                        <div class="row">
                            <div class="col-sm-4 col-xs-6">
                                <div class="sm-st clearfix">
                                    <a href="order/index" class="addtabsit"><span class="sm-st-icon st-red"><i class="fa fa-wpforms"></i></span></a>
                                    <div class="sm-st-info">
                                        <span>{$todayorder}</span>
                                        今日订单
                                    </div>
                                </div>
                            </div>

                            <div class="col-sm-4 col-xs-6">
                                <div class="sm-st clearfix">
                                    <a href="order/index" class="addtabsit"><span class="sm-st-icon st-red"><i class="fa fa-database"></i></span></a>
                                    <div class="sm-st-info">
                                        <span>{$allorder}</span>
                                        累计订单
                                    </div>
                                </div>
                            </div>

                            <div class="col-sm-4 col-xs-6">
                                <div class="sm-st clearfix">
                                    <a href="order/index?order_status=2" class="addtabsit"><span class="sm-st-icon st-violet"><i class="fa fa-wpforms"></i></span></a>
                                    <div class="sm-st-info">
                                        <span>{$waitauditorder}</span>
                                        待核销订单
                                    </div>
                                </div>
                            </div>

                            <div class="col-sm-4 col-xs-6">
                                <div class="sm-st clearfix">
                                    <a href="order/index?order_status=4" class="addtabsit"> <span class="sm-st-icon st-blue"><i class="fa fa-wpforms"></i></span></a>
                                    <div class="sm-st-info">
                                        <span>{$completeorder}</span>
                                        已完成订单
                                    </div>
                                </div>
                            </div>

                            <div class="col-sm-4 col-xs-6">
                                <div class="sm-st clearfix">
                                    <a href="order/index?order_status=5" class="addtabsit"><span class="sm-st-icon st-green"><i class="fa fa-wpforms"></i></span></a>
                                    <div class="sm-st-info">
                                        <span>{$aftersalesorder}</span>
                                        退款/售后订单
                                    </div>
                                </div>
                            </div>

                            <div class="col-sm-4 col-xs-6">
                                <div class="sm-st clearfix">
                                    <span class="sm-st-icon st-violet"><i class="fa fa-wpforms"></i></span>
                                    <div class="sm-st-info">
                                        <span>{$ratio}</span>
                                        分佣比例
                                    </div>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>

                <!--                总资产-->
                <div class="panel panel-default">
                    <div class="panel-heading">总资产</div>
                    <div class="panel-body">
                        <div class="row" style="margin-top:15px;" id="statistics">

                            <div class="col-lg-12">
                            </div>
                            <div class="col-xs-6 col-md-2">
                                <div class="panel bg-blue-gradient no-border">
                                    <div class="panel-body">
                                        <div class="panel-title">
                                            <a class="btn btn-xs btn-dialog" href="withdrawal_record/add" style="display: inline"><span class="label label-primary pull-right">我要提现</span></a>
                                            <h5>当前账户余额</h5>
                                        </div>
                                        <div class="panel-content">
                                            <div class="row">
                                                <div class="col-md-12">
                                                    <h1 class="no-margins">{$money}</h1>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-xs-6 col-md-2">
                                <div class="panel bg-teal-gradient no-border">
                                    <div class="panel-body">
                                        <div class="ibox-title">
                                            <h5>今日收益</h5>
                                        </div>
                                        <div class="panel-content">
                                            <div class="row">
                                                <div class="col-md-12">
                                                    <h1 class="no-margins">{$today_profit}</h1>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="col-xs-6 col-md-2">
                                <div class="panel bg-purple-gradient no-border">
                                    <div class="panel-body">
                                        <div class="ibox-title">
                                            <h5>累计收益</h5>
                                        </div>
                                        <div class="panel-content">
                                            <div class="row">
                                                <div class="col-md-12">
                                                    <h1 class="no-margins">{$all_profit}</h1>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="col-xs-6 col-md-2">
                                <div class="panel bg-green-gradient no-border">
                                    <div class="panel-body">
                                        <div class="ibox-title">
                                            <h5>今日充值</h5>
                                        </div>
                                        <div class="panel-content">
                                            <div class="row">
                                                <div class="col-md-12">
                                                    <h1 class="no-margins">{$today_recharge}</h1>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="col-xs-6 col-md-2">
                                <div class="panel bg-orange no-border">
                                    <div class="panel-body">
                                        <div class="ibox-title">
                                            <h5>累计充值</h5>
                                        </div>
                                        <div class="panel-content">
                                            <div class="row">
                                                <div class="col-md-12">
                                                    <h1 class="no-margins">{$all_recharge}</h1>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>

            </div>
            <div class="tab-pane fade" id="two">
                <div class="row">
                    <div class="col-xs-12">
                        {:__('Custom zone')}
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
